home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / LISTCTRL.PAK / LISTCTRL.RC < prev    next >
Text File  |  1997-05-06  |  5KB  |  138 lines

  1. #include "resource.h"
  2.  
  3. #if !defined (WORKSHOP_INVOKED)
  4. #include <windows.h>
  5. #endif
  6.  
  7. #include "globals.h"
  8. #include "listview.h"
  9. #include "winver.h"
  10.  
  11. IDI_APPICON             ICON    DISCARDABLE     "WINDOWS.ICO"
  12. IDC_ONE                 ICON    DISCARDABLE     "DOLLAR.ICO"
  13. IDC_BORL                ICON    DISCARDABLE     "DISK.ICO"
  14. IDC_DIS                 ICON    DISCARDABLE     "CHIP.ICO"
  15. IDC_HNZ                 ICON    DISCARDABLE     "CHIP.ICO"
  16. IDC_INTC                ICON    DISCARDABLE     "CHIP.ICO"
  17. IDC_EK                  ICON    DISCARDABLE     "FILM.ICO"
  18. IDC_MSFT                ICON    DISCARDABLE     "WINDOWS.ICO"
  19.  
  20. IDB_CHECKSTATES         BITMAP  DISCARDABLE     "CHKBOXS.BMP"
  21.  
  22. ABOUTBOX DIALOG DISCARDABLE  22, 17, 167, 73
  23. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  24. CAPTION "About ListCtrl"
  25. FONT 8, "System"
  26. BEGIN
  27.     DEFPUSHBUTTON   "OK",IDOK,132,2,32,14,WS_GROUP
  28.     ICON            IDI_APPICON,-1,3,2,18,20
  29.     LTEXT           "CompanyName",IDD_VERFIRST,30,2,100,8
  30.     LTEXT           "FileDescription",101,30,11,100,8
  31.     LTEXT           "FileVersion",102,30,20,137,8
  32.     LTEXT           "LegalCopyright",103,30,29,137,8
  33.     LTEXT           "LegalTrademarks",IDD_VERLAST,30,47,136,27
  34.     CONTROL         "",501,"Static",SS_BLACKRECT,29,43,138,1
  35. END
  36.  
  37. IDD_EDITSTOCKINFO DIALOG DISCARDABLE  0, 0, 186, 127
  38. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  39. CAPTION "Edit Stock Information"
  40. FONT 8, "MS Sans Serif"
  41. BEGIN
  42.     EDITTEXT        IDC_COMPANYNAME,59,4,59,14,ES_AUTOHSCROLL
  43.     EDITTEXT        IDC_SYMBOL,59,21,59,14,ES_AUTOHSCROLL
  44.     EDITTEXT        IDC_EXCHANGE,59,38,59,14,ES_AUTOHSCROLL
  45.     EDITTEXT        IDC_HIGH,59,55,59,14,ES_AUTOHSCROLL
  46.     EDITTEXT        IDC_LOW,59,71,59,14,ES_AUTOHSCROLL
  47.     EDITTEXT        IDC_CLOSE,59,87,59,14,ES_AUTOHSCROLL
  48.     EDITTEXT        IDC_NEWS,59,104,59,14,ES_AUTOHSCROLL
  49.     DEFPUSHBUTTON   "OK",IDOK,130,6,50,14
  50.     PUSHBUTTON      "Cancel",IDCANCEL,130,23,50,14
  51.     RTEXT           "Company Name:",IDC_STATIC,3,6,55,10
  52.     RTEXT           "Symbol:",IDC_STATIC,3,23,55,10
  53.     RTEXT           "High:",IDC_STATIC,4,56,55,10
  54.     RTEXT           "Low:",IDC_STATIC,4,74,55,10
  55.     RTEXT           "Close:",IDC_STATIC,4,90,55,10
  56.     RTEXT           "News:",IDC_STATIC,4,106,55,10
  57.     RTEXT           "Exchange:",IDC_STATIC,3,40,55,10
  58. END
  59.  
  60.  
  61. LISTCTRL MENU DISCARDABLE 
  62. BEGIN
  63.     POPUP "&File"
  64.     BEGIN
  65.         MENUITEM "E&xit",                       IDM_EXIT
  66.     END
  67.     POPUP "&View"
  68.     BEGIN
  69.         MENUITEM "&Large Icons",                IDM_LARGEICONS
  70.         MENUITEM "&Small Icons",                IDM_SMALLICONS
  71.         MENUITEM "&List",                       IDM_LIST
  72.         MENUITEM "&Details",                    IDM_DETAILS
  73.         MENUITEM SEPARATOR
  74.         MENUITEM "&Edit Stock Information...",  IDM_EDITSTOCKINFO
  75.     END
  76.     POPUP "&Help"
  77.     BEGIN
  78.         MENUITEM "&About...",                   IDM_ABOUT
  79.     END
  80. END
  81.  
  82.  
  83. LISTCTRL ACCELERATORS MOVEABLE PURE 
  84. BEGIN
  85.     "Q",            IDM_EXIT,               VIRTKEY, CONTROL
  86. END
  87.  
  88.  
  89. VS_VERSION_INFO VERSIONINFO
  90.  FILEVERSION 4,0,0,0
  91.  PRODUCTVERSION 4,0,0,0
  92.  FILEFLAGSMASK 0x3fL
  93. #ifdef _DEBUG
  94.  FILEFLAGS 0xbL
  95. #else
  96.  FILEFLAGS 0xaL
  97. #endif
  98.  FILEOS 0x10001L
  99.  FILETYPE 0x1L
  100.  FILESUBTYPE 0x0L
  101. BEGIN
  102.     BLOCK "StringFileInfo"
  103.     BEGIN
  104.         BLOCK "040904E4"
  105.         BEGIN
  106.             VALUE "CompanyName", "Microsoft Corporation\0"
  107.             VALUE "FileDescription", "ListCtrl Example Application\0"
  108.             VALUE "FileVersion", "Version 4.0\0"
  109.             VALUE "InternalName", "ListCtrl\0"
  110.             VALUE "LegalCopyright", "Copyright \251 Microsoft Corp. 1990-1995\0"
  111.             VALUE "LegalTrademarks", "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0"
  112.             VALUE "ProductName", "ListCtrl\0"
  113.             VALUE "ProductVersion", "Version 4.0\0"
  114.         END
  115.     END
  116.     BLOCK "VarFileInfo"
  117.     BEGIN
  118.         VALUE "Translation", 0x409, 1252
  119.     END
  120. END
  121.  
  122.  
  123.  
  124. STRINGTABLE DISCARDABLE 
  125. BEGIN
  126.     IDS_APPNAME             "ListCtrl"
  127.     IDS_DESCRIPTION         "ListCtrl Example Application"
  128.     IDS_COMPANYCOLUMN       "Company"
  129.     IDS_SYMBOLCOLUMN        "Symbol"
  130.     IDS_EXCHANGECOLUMN      "Exchange"
  131.     IDS_HIGHCOLUMN          "High"
  132.     IDS_LOWCOLUMN           "Low"
  133.     IDS_CLOSECOLUMN         "Close"
  134.     IDS_NEWSCOLUMN          "News"
  135. END
  136.  
  137.  
  138.